package com.ccsoft.gsms.service;

import com.ccsoft.gsms.model.SysPermission;
import com.ccsoft.gsms.model.SysUser;

import java.util.List;

public interface SysUserService {
    int deleteByPrimaryKey(Integer iid);

    int insert(SysUser record);

    SysUser selectByPrimaryKey(Integer iid);

    List<SysUser> selectAll();

    int updateByPrimaryKey(SysUser record);

    SysUser selectByUserId(String userId);

    List<SysPermission> selectPermissionsByUserId(String userId);
}
